.layoutBox{
    position: relative;
}
nav{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;    
    background: #001529;
    z-index: 10;
}
main{
    position: absolute;
    top: 60px;
    right: 0;
    bottom: 0;
    padding: 30px;
}

.trigger {
    position: fixed;    
    top: 22px;
    z-index: 10;
    font-size: 18px;    
    padding: 0 16px;
    cursor: pointer;
    transition: color .3s;
  }
  
 .trigger:hover {
    color: #108ee9;
  }